Blitz (138/640)

From:Tony Rolfe
Date:2 Sep 99 at 22:03:13
Subject:Re: Enforcer Hits

On Thu, 2 Sep 1999 09:07:29 +0100 David McMinn said:
> Hi Tony
>
> > If I click into a blank area of the Workbench screen, or double-click an
> > Icon on the workbench screen I get a couple of Long Reads from zero.
> > Even if I've just started my machine from Cold!!
>
> Don't you have the OS3.5 pre-release? :)
Yes, but this is with my standard OS3.1 setup.

I've also discovered that VirusChecker II causes a continuous stream
of hits. Looks like I'm back to testing on a vanilla 3.1 system for
now.

>
> > My problem is, why does the "Program$ =" line below give a hit?
> > Someone suggested this code to get my current program name, but I
get one
> > read from zero. Looking at the Task Newtype, I can't see
anything which
> > looks like a pointer to a program name.
>
> > Program$ = Peek$(Peek.l(FindTask_(0)+$B0)+4) ;<---
>
> Have you checked that the longword at FindTask_(0)+$B0 is not zero,
and the
> longword at Peek.l(FindTask_(0)+$B0)+4 is not zero?
That's my plan. What is the equivalent code using the Task NewType?
*MyTask.Task = FindTask_(0)
then what?

Thanks all for help so far.



Tony Rolfe
Amiga 2000, 68030/25, 1+8Mb
www.shoalhaven.net.au/edgewater

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie